/*************************处理通达特殊文本类型宏控件 格式为#[MACRO_SIGN1*][{U}:{C} {M}月{D}日]*********************************************/
function macroSign(stepType,stepValue,target){
    var runId = workForm.option.flowRun.runId;
    $.ajaxSettings.async = false;
    $.post('/formSign/getSignFeedBack?runId='+ runId +'&'+ stepType +'='+stepValue,{},function(data,status,xhr){
        if(status == 'success'&&data.flag){
            var obj = {};
            for(var i=0;i<data.obj.length;i++){
                if(stepType == 'PRCS_ID'){
                    obj[data.obj[i].prcsId] = data.obj[i].list;
                }else if(stepType == 'FLOW_PRCS'){
                    obj[data.obj[i].flowPrcs] = data.obj[i].list;
                }

            }
            workForm['MacrosSignList'] = obj;
            workForm.MacrosSignRender2(stepType,stepValue,target);
        }
    })
    $.ajaxSettings.async = true;
}